import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { DominionId } from "./DominionId";
type int = number;
//class SDominionCity
    
    export  class SDominionCity
    {
       

        public __write(arg1: SerializeStream): void
        {
            this.ownId.__write(arg1);
            arg1.writeInt(this.force);
            arg1.writeBool(this.isLight);
            arg1.writeInt(this.x);
            arg1.writeInt(this.y);
            arg1.writeString(this.name);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.ownId = new DominionId();
            this.ownId.__read(arg1);
            this.force = arg1.readInt();
            this.isLight = arg1.readBool();
            this.x = arg1.readInt();
            this.y = arg1.readInt();
            this.name = arg1.readString();
            return;
        }

        public /* var */ownId: DominionId;

        public /* var */force: int;

        public /* var */isLight: Boolean;

        public /* var */x: int;

        public /* var */y: int;

        public /* var */name: string;
    }
